package com.example.project;

/**
 * 应用程序配置类
 */
public class AppConfig {

    // 项目配置常量
    public static final String PROJECT_NAME = "Java Git Practice";
    public static final String VERSION = "1.0.0";
    public static final String AUTHOR = "Your Name";

    // 数学计算配置
    public static final int DEFAULT_PRECISION = 2;
    public static final boolean ENABLE_LOGGING = true;

    /**
     * 获取项目信息
     * @return 格式化的项目信息字符串
     */
    public static String getProjectInfo() {
        return String.format("项目: %s\n版本: %s\n作者: %s",
                PROJECT_NAME, VERSION, AUTHOR);
    }
}